package com.yiren.manager.form.desk;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.elder.YrElderFamilyMemberForm;
import com.yiren.manager.form.elder.YrElderForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrFilialScoreForm extends GenericForm{
	
	private static final long serialVersionUID = -2085893204016745073L;

	private String filialScoreId;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderId;

	private String familyMemberId;

	private Integer month;

	private Integer score;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private Integer year;
	
	private String recorder;
	
	private YrElderForm elderForm;
	
	public YrElderForm getElderForm() {
		return elderForm;
	}

	public void setElderForm(YrElderForm elderForm) {
		this.elderForm = elderForm;
	}

	public String getRecorder() {
		return recorder;
	}

	public void setRecorder(String recorder) {
		this.recorder = recorder;
	}

	private YrElderFamilyMemberForm elderFamilyMemberForm;
	
	public YrElderFamilyMemberForm getElderFamilyMemberForm() {
		return elderFamilyMemberForm;
	}

	public void setElderFamilyMemberForm(YrElderFamilyMemberForm elderFamilyMemberForm) {
		this.elderFamilyMemberForm = elderFamilyMemberForm;
	}

	public String getFilialScoreId() {
		return filialScoreId;
	}

	public void setFilialScoreId(String filialScoreId) {
		this.filialScoreId = filialScoreId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getFamilyMemberId() {
		return familyMemberId;
	}

	public void setFamilyMemberId(String familyMemberId) {
		this.familyMemberId = familyMemberId;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}
	
}
